<?php

namespace Acme\DemoBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Thuongd2
 *
 * @ORM\Table(name="thuongd2")
 * @ORM\Entity
 */
class Thuongd2
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="bigint", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="nam", type="datetime", nullable=true)
     */
    private $nam;

    /**
     * @var integer
     *
     * @ORM\Column(name="tongtienton", type="integer", nullable=true)
     */
    private $tongtienton;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="created", type="datetime", nullable=true)
     */
    private $created;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="updated", type="datetime", nullable=true)
     */
    private $updated;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="deleted", type="datetime", nullable=true)
     */
    private $deleted;



    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set nam
     *
     * @param \DateTime $nam
     * @return Thuongd2
     */
    public function setNam($nam)
    {
        $this->nam = $nam;
    
        return $this;
    }

    /**
     * Get nam
     *
     * @return \DateTime 
     */
    public function getNam()
    {
        return $this->nam;
    }

    /**
     * Set tongtienton
     *
     * @param integer $tongtienton
     * @return Thuongd2
     */
    public function setTongtienton($tongtienton)
    {
        $this->tongtienton = $tongtienton;
    
        return $this;
    }

    /**
     * Get tongtienton
     *
     * @return integer 
     */
    public function getTongtienton()
    {
        return $this->tongtienton;
    }

    /**
     * Set created
     *
     * @param \DateTime $created
     * @return Thuongd2
     */
    public function setCreated($created)
    {
        $this->created = $created;
    
        return $this;
    }

    /**
     * Get created
     *
     * @return \DateTime 
     */
    public function getCreated()
    {
        return $this->created;
    }

    /**
     * Set updated
     *
     * @param \DateTime $updated
     * @return Thuongd2
     */
    public function setUpdated($updated)
    {
        $this->updated = $updated;
    
        return $this;
    }

    /**
     * Get updated
     *
     * @return \DateTime 
     */
    public function getUpdated()
    {
        return $this->updated;
    }

    /**
     * Set deleted
     *
     * @param \DateTime $deleted
     * @return Thuongd2
     */
    public function setDeleted($deleted)
    {
        $this->deleted = $deleted;
    
        return $this;
    }

    /**
     * Get deleted
     *
     * @return \DateTime 
     */
    public function getDeleted()
    {
        return $this->deleted;
    }
}